package com.xebia.pomodoro.messages
{
	import com.xebia.pomodoro.enums.P2PMessageType;

	public class WelcomeMessage extends P2PMessage
	{
		public var groupName:String;

		public function WelcomeMessage(username:String, groupName:String)
		{
			super(P2PMessageType.WELCOME, username);
			this.groupName = groupName;
		}

		override public function toString():String
		{
			return "Welcome " + username + " to Group " + groupName;
			;
		}
	}
}
